package proxy.staticproxy;

/**
 * 静态代理
 */
public class Test {
    public static void main(String[] args) {
        CountDaoImpl countImpl = new CountDaoImpl();
        CountDaoProxy countProxy = new CountDaoProxy(countImpl);
        countProxy.updateCount();
        countProxy.queryCount();
    }
}
